﻿using System;
using System.Collections.Generic;

namespace Wicture.EPC.Service.Etka.Models
{
    public class Model
    {
        public string id { get; set; }
        public string code { get; set; }
        public string marketId { get; set; }
        public string brandCode { get; set; }
        public string name { get; set; } // platformCode
        public string description { get; set; }
        public IEnumerable<GroupInfo> GroupItems { get; set; }
    }

    public class GroupInfo
    {
        public string code { get; set; }
        public string name { get; set; }
        public string img { get; set; }
    }

    public class ModelSelector
    {
        public string id { get; set; }
        public string step { get; set; }
        public string name { get; set; }
        public string description { set; get; }
        public bool? hasNext { get; set; }
        public int parentId { get; set; }
        public string filedName { get; set; }
        public string brandCode { get; set; }
        public string modelId { get; set; }
        public string objectCode { get; set; }
        public string objectName { get; set; }
        public string route { get; set; }
        public string code { get; set; }
        public string imageUrl { get; set; }
        public int? selectorId { get; set; }
    }



    public class SyncModelSelectorStep1Param
    {
        public string brandCode { get; set; }

        public int modelId { get; set; }
        public string objectCode { get; set; }
        public string objectName { get; set; }
        public bool hasNext { get; set; }
    }
    
    public class VinPart
    {
        public string sn { get; set; }
        public int partId { get; set; }
        public int? commentId { get; set; }
    }

    public class HotPoint
    {
        public string url { get; set; }
        public string sn { get; set; }
        public string x { get; set; }
        public string y { get; set; }
        public string w { get; set; }
        public string h { get; set; }

    }

    public class VinBaseInfo
    {
       public string id { get; set; }
        public string brandCode { get; set; }
        public string market { get; set; }
        public string modelCode { get; set; }
        public string modelName { get; set; }
        public string vin { get; set; }
        public string selectorId { set; get; }
    }

    public partial class PR
    {
       public string PRFamilie { get; set; }
       public string PRNummer { get; set; }
       public int? startDate { get; set; }
       public int? endDate { get; set; }
       public string MBA { get; set; }
       public string modelEpisTypes { get; set; }
    }
    public class Supersession
    {
        public string brandCode { set; get; }
        public string partCode { set; get; }
        public string marketCode { set; get; }
        public string marketName { set; get; }
        public int? breakPointDate { set; get; }
        public string warehouseNote { set; get; }
        public string replaceType { set; get; }
        public int? stock { set; get; }
        public string notes { set; get; }
        public string modelNotes { set; get; }
        public string etVor { set; get; }
        public string partName { set; get; }
        public decimal? cost { set; get; }
        public decimal? price { set; get; }
        public DateTime? priceUpdatedAt { set; get; }
        public string priceFC { set; get; }
        public bool? disabled { set; get; }
    }
}
